package avicit.bdp.dds.dao.entity;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.Id;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * DS流程定义实体类(bdp_process_definition_template)
 */
@Table(name = "bdp_process_definition_template")
public class ProcessDefinitionTemplate extends BaseDTO {

    /**
     * id
     */
    @Id
    @javax.persistence.Id
    @Column(name = "id")
    private String id;

    /**
     * 名称
     */
    @Column(name = "name")
    private String name;


    /**
     * 备注;
     */
    @Column(name = "remark")
    private String remark;


    /**
     * 数据库ID
     */
    @Column(name = "definition_type")
    private String definitionType;


    /**
     * 流程定义json
     */
    @Column(name = "process_definition_json")
    private String processDefinitionJson;

    /**
     * 节点位置json
     */
    @Column(name = "locations")
    private String locations;

    /**
     * 节点连接json
     */
    @Column(name = "connects")
    private String connects;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDefinitionType() {
        return definitionType;
    }

    public void setDefinitionType(String definitionType) {
        this.definitionType = definitionType;
    }

    public String getProcessDefinitionJson() {
        return processDefinitionJson;
    }

    public void setProcessDefinitionJson(String processDefinitionJson) {
        this.processDefinitionJson = processDefinitionJson;
    }

    public String getLocations() {
        return locations;
    }

    public void setLocations(String locations) {
        this.locations = locations;
    }

    public String getConnects() {
        return connects;
    }

    public void setConnects(String connects) {
        this.connects = connects;
    }

    @Override
    public String toString() {
        return "ProcessDefinitionTemplate{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                ", definitionType='" + definitionType + '\'' +
                ", processDefinitionJson='" + processDefinitionJson + '\'' +
                ", locations='" + locations + '\'' +
                ", connects='" + connects + '\'' +
                '}';
    }
}
